x86/boot: Fix build dependenices for reloc.c
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 23 Sep 2019 12:32:53 +0000 (14:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 23 Sep 2019 12:32:53 +0000 (14:32 +0200)
commit6af54f7ce3b2391ff9f93e0ee085cad9dd8471f7
treef8a53ba35633ff7193fbe7d5e55f116c133b4340
parentc250e2d5c0d3f2c2d3192968b875c6b31ec916fe
x86/boot: Fix build dependenices for reloc.c

c/s 201f852eaf added start_info.h and kconfig.h to reloc.c, but only updated
start_info.h in RELOC_DEPS.

This causes reloc.c to not be regenerated when Kconfig changes.  It is most
noticeable when enabling CONFIG_PVH and finding the resulting binary crash
early with:

  (d9) (XEN)
  (d9) (XEN) ****************************************
  (d9) (XEN) Panic on CPU 0:
  (d9) (XEN) Magic value is wrong: c2c2c2c2
  (d9) (XEN) ****************************************
  (d9) (XEN)
  (d9) (XEN) Reboot in five seconds...
  (XEN) d9v0 Triple fault - invoking HVM shutdown action 1

Reported-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
master commit: 78c0000c87ce498bf621914c0554b83fac3ee00d
master date: 2019-07-31 11:19:45 +0100
xen/arch/x86/boot/Makefile